name: tests_tapi run_id: commands[0] env HOME: /home/jenkins env INSTALL_TAPI: **** env LANG: C.UTF-8 env OLM_TIMER1: 3000 env OLM_TIMER2: 2000 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin:/opt/pyenv/bin:/tmp/venv-rt8Q/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONHASHSEED: 23893093 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env TOX_ENV_NAME: tests_tapi env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 7911 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin/*:launch_tests.sh cmd: ./launch_tests.sh tapi exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py ................................................... [100%] 51 passed in 315.69s (0:05:15) pytest -q transportpce_tests/tapi/test02_full_topology.py .................................... [100%] 36 passed in 336.28s (0:05:36) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py ....................................................................... [100%] 71 passed in 324.47s (0:05:24) pytest -q transportpce_tests/tapi/test04_topo_extension.py ................... [100%] 19 passed in 142.68s (0:02:22) pytest -q transportpce_tests/tapi/test05_pce_tapi.py .F......F............. [100%] =================================== FAILURES =================================== _ TransportPCEtest.test_02_successfull_path_computation_phtnc_service_spdr_x2 __ self = def test_02_successfull_path_computation_phtnc_service_spdr_x2(self): # Path Computation from NEP of SPDR-SA1-XPDR2-NETWORK2 to NEP of of SPDR-SC1-XPDR2-NETWORK2 self.path_computation_input_data["service-a-end"]["service-rate"] = "100" self.path_computation_input_data["service-z-end"]["service-rate"] = "100" response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) # pylint: disable=consider-using-f-string print("getServiceResponse Service1 PhotonicMedia: {}".format(response)) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test05_pce_tapi.py:372: AssertionError ----------------------------- Captured stdout call ----------------------------- getServiceResponse Service1 PhotonicMedia: {'status_code': 500, 'output': {'errors': {'error': [{'error-tag': 'operation-failed', 'error-message': 'path-computation-request failed', 'error-type': 'rpc'}]}}} _ TransportPCEtest.test_09_successfull_path_computation_phtnc_service_spdr_x1 __ self = def test_09_successfull_path_computation_phtnc_service_spdr_x1(self): # Path Computation from NEP of SPDR-SA1-XPDR1-NETWORK1 to NEP of of SPDR-SC1-XPDR1-NETWORK1 self.path_computation_input_data["service-name"] = "383790b1-ce29-4b7f-8462-1ca72d9db6ad" self.path_computation_input_data["service-a-end"]["clli"] = self.s1Auuid self.path_computation_input_data["service-a-end"]["service-format"] = "OTU" self.path_computation_input_data["service-a-end"]["service-rate"] = "100" self.path_computation_input_data["service-a-end"]["node-id"] = "SPDR-SA1-XPDR1+XPONDER" self.path_computation_input_data["service-a-end"]["otu-service-rate"] = "org-openroadm-otn-common-types:OTU4" self.path_computation_input_data["service-a-end"]["tx-direction"]["logical-connection-point"] = self.nAX1OTS1 self.path_computation_input_data["service-a-end"]["rx-direction"]["logical-connection-point"] = self.nAX1OTS1 self.path_computation_input_data["service-z-end"]["clli"] = self.s1Cuuid self.path_computation_input_data["service-z-end"]["service-format"] = "OTU" self.path_computation_input_data["service-z-end"]["service-rate"] = "100" self.path_computation_input_data["service-z-end"]["node-id"] = "SPDR-SC1-XPDR1+XPONDER" self.path_computation_input_data["service-z-end"]["otu-service-rate"] = "org-openroadm-otn-common-types:OTU4" self.path_computation_input_data["service-z-end"]["tx-direction"]["logical-connection-point"] = self.nZX1OTS1 self.path_computation_input_data["service-z-end"]["rx-direction"]["logical-connection-point"] = self.nZX1OTS1 response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) # pylint: disable=consider-using-f-string print("getServiceResponse Service2 PhotonicMedia: {}".format(response)) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test05_pce_tapi.py:588: AssertionError ----------------------------- Captured stdout call ----------------------------- getServiceResponse Service2 PhotonicMedia: {'status_code': 500, 'output': {'errors': {'error': [{'error-tag': 'operation-failed', 'error-message': 'path-computation-request failed', 'error-type': 'rpc'}]}}} =========================== short test summary info ============================ FAILED transportpce_tests/tapi/test05_pce_tapi.py::TransportPCEtest::test_02_successfull_path_computation_phtnc_service_spdr_x2 FAILED transportpce_tests/tapi/test05_pce_tapi.py::TransportPCEtest::test_09_successfull_path_computation_phtnc_service_spdr_x1 2 failed, 20 passed in 440.44s (0:07:20)